//---------------------------------------------------------------------------

#ifndef ParamCfgH
#define ParamCfgH
#include "DataTypes.h"

typedef struct tag_Param_Target{
    Bool    (*Init)(void);
    Bool    (*Write)(int addr,  DWORD  value);
    DWORD   (*Read)(int  addr,  DWORD  value);
    Bool    (*WriteFloat)(int addr,   float  value);
    float   (*ReadFloat)(int addr,    float  value);
}Param_Target;

Bool    Param_Init();
Bool    Param_WriteInteger(int key, DWORD  value);
DWORD   Param_ReadInteger(int key,  DWORD  value);
Bool    Param_WriteFloat(int key,   float  value);
float   Param_ReadFloat(int key,    float  value);

extern  Param_Target *g_curTarget;
/*
U16  Param_ReadU16(eParamTypes key, U16 value);
U32  Param_ReadU32(eParamTypes key, U32 value);
*/
//---------------------------------------------------------------------------
#endif
